#pragma once

#include "Batch.h"

// CBatchTreeItem
class AFX_CLASS_EXPORT CBatchTreeItem 
{
public:
	typedef enum {BATCH = 0,
				  DOCUMENT,
				  PAGE }ITEM_TYPE;

	CBatchTreeItem(CBatch value,ITEM_TYPE type);
	CBatchTreeItem(ITEM_TYPE type);
	CBatchTreeItem(int index,ITEM_TYPE type);
	virtual ~CBatchTreeItem();
	
	void SetValue(CBatch value,ITEM_TYPE type);
	CBatch GetValue();
	ITEM_TYPE GetValueType();
	int GetIndex();


protected: 
	CBatch m_value;
	ITEM_TYPE m_type ;
	int m_index ;
};

